< previous page page_ix next page >

Page ix
d6ef40187df115e88326dbc94f09ab9a.gif
Returning a Value from the MsgBox Function
143
d6ef40187df115e88326dbc94f09ab9a.gif
Demonstrating the MsgBox Function
146
d6ef40187df115e88326dbc94f09ab9a.gif
Getting Information from the User
146
d6ef40187df115e88326dbc94f09ab9a.gif
Setting Up the InputBox Function
146
d6ef40187df115e88326dbc94f09ab9a.gif
Values Returned by InputBox
147
d6ef40187df115e88326dbc94f09ab9a.gif
Using Built-In Dialog Boxes
148
d6ef40187df115e88326dbc94f09ab9a.gif
General Usage of the CommonDialog Control
148
d6ef40187df115e88326dbc94f09ab9a.gif
Testing the CommonDialog Control
149
d6ef40187df115e88326dbc94f09ab9a.gif
The File Dialog Boxes
150
d6ef40187df115e88326dbc94f09ab9a.gif
The Font Dialog Box
152
d6ef40187df115e88326dbc94f09ab9a.gif
The Color Dialog Box
154
d6ef40187df115e88326dbc94f09ab9a.gif
The Print Dialog Box
155
d6ef40187df115e88326dbc94f09ab9a.gif
The Help Dialog Box
157
d6ef40187df115e88326dbc94f09ab9a.gif
Creating Your Own Dialog Boxes
157
d6ef40187df115e88326dbc94f09ab9a.gif
Creating a Custom Dialog Box
157
d6ef40187df115e88326dbc94f09ab9a.gif
Using Form Templates for Other Dialog Boxes
157
d6ef40187df115e88326dbc94f09ab9a.gif
From Here . . .
158
8
Using Variables and Constants to Store Information
159
d6ef40187df115e88326dbc94f09ab9a.gif
Introduction to Variables
160
d6ef40187df115e88326dbc94f09ab9a.gif
Naming Variables
160
d6ef40187df115e88326dbc94f09ab9a.gif
Types of Variables
161
d6ef40187df115e88326dbc94f09ab9a.gif
Variable Declarations
163
d6ef40187df115e88326dbc94f09ab9a.gif
Explicit Declaration
163
d6ef40187df115e88326dbc94f09ab9a.gif
Implicit Declaration
164
d6ef40187df115e88326dbc94f09ab9a.gif
Fixed-Length Strings
165
d6ef40187df115e88326dbc94f09ab9a.gif
Variable Arrays
166
d6ef40187df115e88326dbc94f09ab9a.gif
Determining Where a Variable Can Be Used
166
d6ef40187df115e88326dbc94f09ab9a.gif
Creating Variables That Are Available Everywhere
167
d6ef40187df115e88326dbc94f09ab9a.gif
Keeping a Variable Local
168
d6ef40187df115e88326dbc94f09ab9a.gif
Using Static Variables
168
d6ef40187df115e88326dbc94f09ab9a.gif
Using the Option Explicit Statement
169
d6ef40187df115e88326dbc94f09ab9a.gif
What's Different About Constants
171
d6ef40187df115e88326dbc94f09ab9a.gif
How to Use Constants
171
d6ef40187df115e88326dbc94f09ab9a.gif
Constants That Visual Basic Supplies
171
d6ef40187df115e88326dbc94f09ab9a.gif
Creating Your Own Constants
172
d6ef40187df115e88326dbc94f09ab9a.gif
From Here . . .
172
9
Visual Basic Programming Fundamentals
173
d6ef40187df115e88326dbc94f09ab9a.gif
Writing Statements
174
d6ef40187df115e88326dbc94f09ab9a.gif
Using Assignment Statements
175
d6ef40187df115e88326dbc94f09ab9a.gif
Using Math Operations
176
d6ef40187df115e88326dbc94f09ab9a.gif
Addition and Subtraction
177
d6ef40187df115e88326dbc94f09ab9a.gif
Multiplication and Division
178
d6ef40187df115e88326dbc94f09ab9a.gif
Exponentiation
181
d6ef40187df115e88326dbc94f09ab9a.gif
Operator Precedence
181
d6ef40187df115e88326dbc94f09ab9a.gif
Working with Strings
182
d6ef40187df115e88326dbc94f09ab9a.gif
String Concatenation
183
d6ef40187df115e88326dbc94f09ab9a.gif
Determining the Length of the String
185
d6ef40187df115e88326dbc94f09ab9a.gif
Changing the Case of a String
185
d6ef40187df115e88326dbc94f09ab9a.gif
Searching a String
187
d6ef40187df115e88326dbc94f09ab9a.gif
Extracting Pieces of a String
189
d6ef40187df115e88326dbc94f09ab9a.gif
Getting Rid of Spaces
191
d6ef40187df115e88326dbc94f09ab9a.gif
Replacing Characters in a String
191
d6ef40187df115e88326dbc94f09ab9a.gif
Working with Specific Characters
193
d6ef40187df115e88326dbc94f09ab9a.gif
Strings and Numbers
194
d6ef40187df115e88326dbc94f09ab9a.gif
Formatting Results
195
d6ef40187df115e88326dbc94f09ab9a.gif
Specific Formatting Functions
195
d6ef40187df115e88326dbc94f09ab9a.gif
Using the Format Function
197
d6ef40187df115e88326dbc94f09ab9a.gif
Manipulating Date Values
200
d6ef40187df115e88326dbc94f09ab9a.gif
From Here . . .
202
10
Controlling the Flow of Your Program Code
203
d6ef40187df115e88326dbc94f09ab9a.gif
Making Decisions in Your Program
204
d6ef40187df115e88326dbc94f09ab9a.gif
Using the If Statement
204
d6ef40187df115e88326dbc94f09ab9a.gif
Working with the False Condition
205
d6ef40187df115e88326dbc94f09ab9a.gif
Working with Multiple If Statements
206
d6ef40187df115e88326dbc94f09ab9a.gif
Using Select Case
207

 
< previous page page_ix next page >